Formal Methods and Conformance Testing or
نویسندگان
چکیده
In this paper, we will show the correlation between the notion of implementation relations known from formal methods and ideas of conformance testing. We will show that the implementation relations realized through the practical testing of systems come from a family of parameterized implementation relations. We will also show that for glass box testing, implementation relations parameterized by test purposes converge to the mayy testing preorder of DeNicola and Hennessy 7], while for black box testing, implementation relations parameterized by test cases converge to a mayytesting preorder of the behavior visible at the interface to the environment. 1 Motivation When developing concurrent systems with formal methods, the notion of correctness of an implementation with respect to a speciication plays a major role. Many of such implementation relations can be found in literature, e. g., bisimulation equivalence 6], failure equivalence and preorder 4], testing equivalence and preorder 7], as well as many others 11]. To ensure properties of implementations, given implementation relations between a speci-cation and its implementation have to be checked. For implementations for which a formal model exists this can be done by tools like the Concurrency Workbench 2]. Yet, most implementations , especially those in the eld of telecommunication systems, are black boxes only the behavior visible to the environment can be modeled. Hence the implementation relation between speciication and implementation can only be connrmed by means of testing the implementation. But the testing of systems has to be done in nite time. Therefore often the tests done on the implementation cannot be exhaustive. So, what are the relations for which tests can be performed? The work found for example in 1] or 9] strives for nding tests that exactly discriminate between correct and erroneous implementations based on a given implementation relation. Yet in practical testing, test cases are formulated to validate the presence of some speciic properties in implementations, the soocalled test purposes. This clearly does not root out
منابع مشابه
Report on the standardization project “Formal methods in conformance testing”
This paper presents the latest developments in the “Formal Methods in Conformance Testing” (FMCT) project of ISO and ITU–T. The project has been initiated to study the role of formal description techniques in the conformance testing process. The goal is to develop a standard that defines the meaning of conformance in the context of formal description techniques. We give an account of the curren...
متن کاملTesting Concurrent Systems: A Formal Approach
This paper discusses the use of formal methods in testing of concurrent systems. It is argued that formal methods and testing can be mutually profitable and useful. A framework for testing based on formal specifications is presented. This framework is elaborated for labelled transition systems, providing formal definitions of conformance, test execution and test derivation. A test derivation al...
متن کاملA Formal TLS Handshake Model in LNT
Testing of network services represents one of the biggest challenges in cyber security. Because new vulnerabilities are detected on a regular basis, more research is needed. These faults have their roots in the software development cycle or because of intrinsic leaks in the system specification. Conformance testing checks whether a system behaves according to its specification. Here model-based...
متن کاملA Formal Framework of Hybrid Test Cases Generation Applied to Embedded Systems
In this paper, we describe a formal framework for conformance testing of continuous and hybrid systems, using the international standard ’Formal Methods in Conformance Testing’ FMCT. We propose a novel test coverage measure for these systems, which is defined using the star discrepancy notion. This coverage measure is used to quantify the validation ’completeness’. It is also used to guide inpu...
متن کاملA formal approach to conformance testing
In order to assure successful communication between computer systems from different manufacturers, standardized communication protocols are being developed and specified. As a next step implementations of these protocols are needed that conform to these specifications. Testing is a way to check correctness of protocol implementations with respect to their specifications. This activity is known ...
متن کاملFormal Test Automation: A Simple Experiment
In this paper we study the automation of test derivation and execution in the area of conformance testing. The test scenarios are derived from multiple specification languages: LOTOS, Promela and SDL. A central theme of this study is the usability of batch-oriented and on-the-fly testing approaches. To facilitate the derivation from multiple formal description techniques and the different test ...
متن کامل